CharsToStream(Stream,Font,HashSet<Int32>,FontSubsetFlags) Method
Writes a subset of the font containing the specified UTF-32 characters to a stream.
public System.int CharsToStream(
System.IO.Stream ,
Font ,
System.Collections.Generic.HashSet<int> ,
FontSubsetFlags
)
'Declaration
Public Overloads Function CharsToStream( _
ByVal As System.IO.Stream, _
ByVal As Font, _
ByVal As System.Collections.Generic.HashSet(Of Integer), _
Optional ByVal As FontSubsetFlags _
) As System.Integer
Parameters
- stream
- The destination Stream object.
- font
- The Font object to serialize.
- utf32Chars
- UTF-32 characters to be supported in the resulting font subset.
- subsetFlags
- Font serialization options.
Return Value
The number of bytes saved to the stream.